/*
** bistromathique.h for bistromathique in /home/labonn_c//Documents/bistromathique
** 
** Made by christophe labonnemartinez
** Login   <labonn_c@epitech.net>
** 
** Started on  Mon Oct 31 08:18:49 2011 christophe labonnemartinez
** Last update Tue Nov  1 14:27:45 2011 christophe labonnemartinez
*/
# ifndef	__BISTRO_H__
# define	__BISTRO_H__

# define	OP_OPEN_PARENT_IDX	0
# define	OP_CLOSE_PARENT_IDX	1
# define	OP_PLUS_IDX		2
# define	OP_SUB_IDX		3
# define	OP_NEG_IDX		3
# define	OP_MULT_IDX		4
# define	OP_DIV_IDX		5
# define	OP_MOD_IDX		6
# define	SYNTAXE_ERROR_MSG	"syntax error\n"

char		*eval_expr(char *str);
char		*eval_brackets(char *str);
static void	check_base(char *base);
static void	check_ops(char *ops);
static char	*get_expr(unsigned int size);

# endif
